package com.cxz.study.definition;

import com.cxz.study.common.Result;
import com.cxz.study.dto.CreateOrderReq;
import com.cxz.study.dto.CreateOrderResp;

/**
 * @className: OrderServiceDefinition
 * @author: ocxz1
 * @date: 2025/6/15 下午2:53
 * @Version: 1.0
 * @description: ddd-struct3
 */
public interface OrderServiceDefinition {

    /**
     * 创建订单
     * @param req 请求
     * @return 结果
     */
    Result<CreateOrderResp> createOrder(CreateOrderReq req);
}

    
    